package com.oozol.lieluyun.config;

public class BusinessException extends RuntimeException {
   private ErrCode errCode;

   public BusinessException(ErrCode errCode) {
      super(errCode.getMsg());
      this.errCode = errCode;
   }

   public ErrCode getErrCode() {
      return this.errCode;
   }

   public void setErrCode(ErrCode errCode) {
      this.errCode = errCode;
   }
}
